projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4afd0
)
GtkStackSwitcher: Don't take focus on click
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 10 Dec 2014 01:36:03 +0000
(20:36 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 10 Dec 2014 01:57:58 +0000
(20:57 -0500)
Moving the focus to the stack switcher buttons is
never what is wanted here.
gtk/gtkstackswitcher.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstackswitcher.c
b/gtk/gtkstackswitcher.c
index a04dd671324917b6861396de1c510ead01123737..42e41bbd75dea549d39ba7efbd9d9fdf1709a7ba 100644
(file)
--- a/
gtk/gtkstackswitcher.c
+++ b/
gtk/gtkstackswitcher.c
@@
-244,6
+244,7
@@
add_child (GtkWidget *widget,
priv = gtk_stack_switcher_get_instance_private (self);
button = gtk_radio_button_new (NULL);
+ gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (button), FALSE);
update_button (self, widget, button);